package com.xindong.paking.controller;

import com.xindong.paking.utils.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/personal")
@Api(tags = "测试模块")
public class PersonalCenterController {

    @ApiOperation("更新资讯状态")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "id", value = "编号",required = true),
    })
    @GetMapping("/list")
    public Result changeStatus(Integer id) {
        return new Result(200, "成功");
    }

}
